package com.lyy.order.client;

import com.lyy.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {
    /**
     * 获取订单统计数据
     */
    @GetMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);


    /**
     * 获取科室统计数据
     *
     */
    @RequestMapping(value = "/api/order/orderInfo/inner/getHosnameMap",method = RequestMethod.POST)
    Map<String,Object> getHosnameMap();

}
